package com.scorpio.agentuser.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateUserVo {
    private Long id;

    @NotBlank(message = "联系姓名/单位")
    private String agentName;

    @NotBlank(message = "缺少电话号码")
    private String phone;

    @NotNull(message = "请选择省份")
    private Long provinceId;

    @NotNull(message = "请选择所在地址")
    private Long cityId;

    @NotNull(message = "请选择所在区域")
    private Long districtId;

    @NotBlank(message = "缺少详细地址")
    private String address;
}
